﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.X.Rabbit.Domain.Autofac
{
    /// <summary>
    /// 审计信息
    /// </summary>
    public interface IAuditable
    {
        /// <summary>
        /// 创建操作者ID
        /// </summary>
        int CreateOperatorId { get; set; }
        /// <summary>
        /// 创建操作者名称
        /// </summary>
        string? CreateOperatorName { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        DateTime CreateDate { get; set; }

        /// <summary>
        /// 修改人ID
        /// </summary>
        int? ModifyOperatorId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改人名称
        /// </summary>
        string? ModifyOperatorName { get; set; }

        /// <summary>
        /// 删除人ID
        /// </summary>
        int? DeleteOperatorId { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        DateTime? DeleteDate { get; set; }
        /// <summary>
        /// 删除人名称
        /// </summary>
        string? DeleteOperatorName { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        bool IsDeleted { get; set; }
    }
}
